package com.tao.dao;

import com.tao.domain.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @InterfaceName UserMapper
 * @Author HETAO
 * @Date 2020/7/25 21:49
 */
public interface UserMapper {
    User selectById(@Param("id") Integer id);

    User selectTest(@Param("id") Integer id,@Param("name") String name);

    List<User> findAll();

    void update(@Param("id") Integer id,@Param("user") User user);
}
